<%--
  Created by IntelliJ IDEA.
  User: Gustuy
  Date: 2021/7/6
  Time: 11:24
  To change this template use File | Settings | File Templates.
--%>
<%@page errorPage="500.jsp" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>$Title$</title>
  </head>
  <body>
  <%=new java.util.Date()%>
<%
  int sum=0;
  for(int i=0;i<100;i++){
    sum+=i;
  }
  out.print("<h1>Sum="+sum+"</h1>");
  for(int i=0;i<5;i++){
    out.print("<p>"+i+"</p>");
  }
%>
  <hr>
  <br>
  <%!
    public void GUS(){
      System.out.println("Hello World");
    }
  %>
  <%
    for (int i=0;i<5;i++){
  %>
  <h1>Hello ${i}</h1>
  <%
    }
  %>
  </body>
<jsp:include page="500.jsp"/>
</html>
